IUGetItlTable
void IUGetItlTable( script, tableCode, itlHandle, offset, length ); short tablecode ; indicates specific resource table
Handle *itlHandle ; handle to 'itl2' or 'itl4' resource long *offset ; pointer to table offset from start of resource
long *length ; pointer to length of resource
Given a script code and a table code, IUGetItlTable returns a handle to the 'itl2' or 'itl4' resource that contains the table, the offset of the specified
table from the beginning of the resource, and the length of the resource. At
present, the supported table codes are as follows:
Table code symbol Retrieves
iuWordSelectTable Word selection break table ('itl2')
iuWordWrapTable Word wrap break table ('itl2')
iuNumberPartsTable Default number parts table ('itl4')
iuUnTokenTable Untoken table ('itl4')
iuWhiteSpaceList White space list table ('itl4')
routines that accept script or language codes. For these routines, the data
typedef short ScriptCode;
typedef short LangCode;
Valid values for a parameter of type ScriptCode are integers in the range 0-64 that explicitly indicate a particular script, or one of the following
negative values:
Constant Meaning
iuSystemScript System script
IUGetItlTable only checks the default 'itl2' or 'itl4' resource for the script-that is, the 'itl2' or 'itl4' resource whose ID is specified in the
script's local variables. The itlHandle parameter is set to 0 for any of the
following error conditions: the script or the table code is in valid; the script
is not installed or not enabled; or the required resource can not be found or
is not in the current format.
For details on the word selection and word wrap break tables, see
default number parts table and the untoken table, consult Macintosh
Developer Technical Support.